package com.xbongbong.paas.script.distributor;

import com.xbongbong.paas.toolbox.exception.XbbException;
import org.springframework.scheduling.annotation.Async;

/**
 * @author xinpeng.jiang
 * @version V1.0
 * @date 2021/7/22 14:25
 * @since V1.0
 */
public interface DistributorFee {

    /**
     * 经销商套餐到期关闭
     * @param start
     * @param now
     */
    void distributorFeeClose(Long start, Long now);

    /**
     * 优惠券到期下架
     * @param start
     * @param endTime
     * @throws XbbException
     */
    void activityExpired(Long start, Long endTime) throws XbbException;

    /**
     * 经销商标准版关闭配置
     * @param start
     * @param now
     */
    void distributorCompanyConfigClose(Long start, Long now);
}
